<template>
  <div class="address-box">
    <div class="address">
      <span class="icon">
        <img src="@/assets/head/-U1.png" alt="" />
      </span>
      <span class="info">{{ address }}</span>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    address: String
  }
}
</script>

<style lang="less" scoped>
.address-box {
  padding-top: 10px;
  display: flex;
  .address {
    padding: 3px 10px;
    display: flex;
    font-weight: 600;
    align-items: center;
    border-radius: 999px;
    border: 2px solid #d94648;

    .icon {
      height: 14px;
      width: 10px;
      img {
        height: 100%;
        width: 100%;
      }
    }
    .info {
      color: #d94648;
      font-size: 12px;
    }
  }
}
</style>
